/*
 * @FilePath: /tads/server/global/global.go
 * @Author: wnina0x0
 * @Date: 2025-04-03 16:45:47
 * @Description:
 *
 * 版权信息 : 2025 by wnina0x0, All Rights Reserved.
 */
package global

import (
	"sync"
	"tads/server/config"
	"tads/server/core"
	"tads/server/utils/timer"

	"github.com/golang-jwt/jwt/v5"
	"gorm.io/gorm"
)

var (
	TADS_DBTYPE        *string
	TADS_DB            *gorm.DB
	TADS_Timer         timer.Timer = timer.NewTimerTask()
	TADS_LOG           *core.Logger
	TADS_CONFIG        config.Server
	TADS_ACTIVE_DBNAME *string
	lock               sync.RWMutex
	TADS_PORT          *string
	TADS_DBNAME        *string
	TADS_DSN           string
	TADS_AUTH_KEY      *[]byte
	TADS_PARSER_OPTION jwt.ParserOption
)
